<template>
  <section>
    <screen-date v-if="id==0"></screen-date>
    <screen-menu v-if="id==1"></screen-menu>
    <div v-else style=" width: 40vw;"></div>
  </section>
</template>

<script>
import ScreenDate from "@/components/screen/ScreenDate.vue";
import ScreenMenu from "@/components/screen/ScreenMenu.vue";
export default {
  // 全局感知
  name: "ScreenNav",

  // 模板依赖
  components: {
    ScreenDate,
    ScreenMenu
  },
  filters: {},

  // 接口
  props: {
    id: Number
  },

  // 本地状态
  data() {
    return {};
  },
  computed: {},
  // 事件
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  // 非响应式的属性
  methods: {}
};
</script>

<style scoped>
</style>
